package com.zcoj.pojo.Vo;

import com.zcoj.pojo.Dto.GroupRegister;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @author chenbin
 * @version 1.0
 * @description: TODO
 * @date 2023/4/23 10:33
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class GroupRegisterVO {
 private Integer id;
 private Integer gid;
 private String gname;
 private Integer uid;
 private String uname;
 private Integer status;
 private Date createTime;
 private Date updateTime;


 public void setGroupRegister(GroupRegister groupRegister){
  this.id=groupRegister.getId();
  this.gid=groupRegister.getGid();
  this.uid=groupRegister.getUid();
  this.status=groupRegister.getStatus();
  this.createTime=groupRegister.getCreateTime();
  this.updateTime=groupRegister.getUpdateTime();
 }
}
